# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: kiefer <jorgelmadrid@gmail.com>
# Contributor: Alessio Sergi <asergi at archlinux dot us>

pkgname=libzeitgeist
pkgver=0.3.18
_pkgmainver=0.3
pkgrel=3
pkgdesc="Zeitgeist client library"
arch=('i686' 'x86_64')
url="https://launchpad.net/libzeitgeist"
license=('LGPL2.1')
depends=('glib2')
optdepends=("zeitgeist: zeitgeist framework")
options=('!libtool')
source=(http://launchpad.net/${pkgname}/${_pkgmainver}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
md5sums=('d63a37295d01a58086d0d4ae26e604c2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
